<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物车</title>
    <link rel="stylesheet" href="/css/footer.css">
    <link rel="stylesheet" href="/css/public.css">
    <link rel="stylesheet" href="/css/shopcar.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_2348611_pxlalh8ffoh.css">
</head>
<body>
    <div class="mycar">
        <div class="typepage">
            <div class="logo">
                <div class="tu">
                    <img src="../images/mi-home.png" alt="">
                    <img src="../images/mi-logo.png" alt="">
                </div>
            </div>
            <h2>我的购物车</h2>
            <p>温馨提示：产品是否购买成功，以最终下单为准哦，请尽快结算</p>
            <div class="wode">
                <a href="">
                    <span class="account">
                        18284591942
                        <i class="xl iconfont icon-xiala"></i>
                    </span>
                </a>
                <span>|</span>
                <a href="">
                    <span>
                        我的订单
                    </span>
                </a>
            </div>
        </div>
    </div>

    <section>
        <div class="typepage">
            <div class="one">
                <p>
                    小米发货商品（不含有品）满99元免运费,还需
                    <span class="surplus"></span>                   
                    <a href="">
                        <span>
                        去凑单
                        <i class="cd iconfont icon-you-"></i>
                        </span>
                    </a>
                </p>
            </div>
            <div class="two">
                <div class="top">
                    <div class="kuang checked">
                        <i class="gou iconfont icon-gou"></i>
                    </div>
                    <span>全选</span>
                    <span>商品名称</span>
                    <span>单价</span>
                    <span>数量</span>
                    <span>小计</span>
                    <span>操作</span>
                </div>
                <div class="goodslist">
                    
                </div>
                <script type="text/html" id="shopcarTemplate">
                    {{each list item}}
                    <div class="bottom">
                        <div class="kuang checked" prod="{{item.id}}">
                            <i class="gou iconfont icon-gou"></i>
                        </div>
                        <img src="{{item.image}}" alt="">
                        <p>{{item.title}}</p>
                        <span>{{item.price}}元</span>
                        <div class="sl" prod="{{item.id}}">
                            <div class="jian" >-</div>
                            <input type="text" value="{{item.count}}">
                            <div class="jia">+</div>
                        </div>
                        <div class="xj">{{(item.price*item.count).toFixed(2)}}元</div>
                        <div class="cz">
                            <div class="yuan">
                                <i class="cha iconfont icon-cha"></i>
                            </div>
                        </div>
                    </div>
                    {{/each}}
                </script>
            </div>
            <div class="three">
                <div class="typepage">
                    <a href="">
                        <span>继续购物</span>
                    </a>
                    <span>|</span>
                    <p>共<span class="allcount">0</span>件商品，已选择<span class="choosecount">0</span>件</p>
                    <div class="right">
                        <p>合计：<span class="allprice">69</span>元</p>
                        <a href="">
                            去结算
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <footer></footer>

    <script src="/lib/requirejs/require.js" data-main="/js/shopcar"></script>
</body>
</html>